Foutstat

Section: Oct. 1, 1991 (2)
Updated: MiNT Programmer's Manual
Index Return to Main Contents
 

NAME

Foutstat - determine output status for a file  

SYNOPSIS

LONG Foutstat( WORD fh );
 

DESCRIPTION

Foutstat returns the number of bytes of output that may be written to the file whose GEMDOS handle is fh, without blocking.  

RETURNS

0 or a positive number if successful

EIHNDL if fh is not a valid handle for an open file.  

SEE ALSO

Cauxos(2), Cconos(2), Cprnos(2), Fcntl(2), Finstat(2)  

BUGS

Always returns 1 for disk files.

Doesn't check to see if the indicated file was opened for writing.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 16:01:23 GMT, March 03, 2023